package cc.ls51.modules.SysUser.service;

import cc.ls51.common.PageUtils;
import cc.ls51.exception.BusinessException;
import cc.ls51.form.UserListForm;
import cc.ls51.form.UserLoginForm;
import cc.ls51.modules.SysUser.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author llf
 * @since 2019-08-27
 */
public interface ISysUserService extends IService<SysUser> {

    SysUser getUserByUsername(UserLoginForm form) throws BusinessException;

    PageUtils<SysUser> getPage(UserListForm params);

    SysUser selectById(Long id);

    SysUser selectById2(Long id);
}
